/// 用于methodChannel合native的方法id约定

///没有被分类的基础操作
class NIBaseMethodId{
  ///刷新地图
  static const kMapUpdateMap = 'flutter_nimap/base/UpdateMap';
}

/// 地图状态方法ID集合
class NIAnimationMethodId {
  /// 按像素移动地图中心点
  static const kMapAnimationByPixel =
      'flutter_nimap/animation/AnimationByPixel';

  ///地图缩小
  static const kMapAnimationZoomOut =
      'flutter_nimap/animation/AnimationZoomOut';

  ///地图放大
  static const kMapAnimationZoomIn = 'flutter_nimap/animation/AnimationZoomIn';

}

/// marker方法ID集合
class NIMarkerMethodId {
  /// 添加marker,使用坐标添加
  static const kMapAddMarkerMethod = 'flutter_nimap/marker/addMarker';

  /// 删除marker
  static const kMapRemoveMarkerMethod = 'flutter_nimap/marker/removeMarker';
}

/// 定位图层集合
class NILocationMethodId {
  /// 动态更新我的位置数据
  static const kMapUpdateLocationDataMethod =
      'flutter_nimap/location/updateLocationData';
}

/// Line数据图层
class NILineMethodId {
  /// 动态更新我的位置数据
  static const kMapAddDrawLinePointMethod =
      'flutter_nimap/line/addDrawLinePoint';

  ///清除绘制线数据
  static const kMapCleanDrawLineMethod = "flutter_nimap/line/cleanDrawLine";
}

/// Polygon数据图层
class NIPolygonMethodId {
  /// 动态更新我的位置数据
  static const kMapAddDrawPolygonPointMethod =
      'flutter_nimap/Polygon/addDrawPolygonPoint';

  ///清除绘制线数据
  static const kMapCleanDrawPolygonMethod =
      "flutter_nimap/Polygon/cleanDrawPolygon";
}

/// 视窗操作
class NIViewportMethodId {

  ///清除绘制线数据
  static const kMapViewportSetViewCenterMethod =
      "flutter_nimap/Viewport/SetViewCenter";
  ///获取几何的外接矩形,返回矩形的左上，右下两个坐标
  static const kMapViewportGetBoundingBox =  "flutter_nimap/Viewport/GetBoundingBox";
}

///地图回调
class NIMapCallbackMethodId {
  ///用户操作地图，导致地图状态改变
  static const kMapEventCallback =
      "flutter_nimap/mapCallBack/kMapEventCallback";

  /// 用户单击地图，回调点击坐标
  static const kMapOnClickCallback =
      "flutter_nimap/mapCallBack/kMapOnClickCallback";
}

/// LayerManager方法ID集合
class NILayerManagerMethodId {

  /// 添加RasterTileLayer
  static const kMapAddRasterTileLayerMethod = 'flutter_nimap/LayerManager/switchRasterTileLayer';

  /// 删除RasterTileLayer
  static const kMapRemoveRasterTileLayerMethod = 'flutter_nimap/LayerManager/removeRasterTileLayer';

  // 获取RasterTileLayer
  static const  kMapGetRasterTileLayerListMethod = "flutter_nimap/LayerManager/getRasterTileLayerList";
}
